<div id="addForm">
</div>
<button id="add">add</button>
<script >
///////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////ADD CONFIG ////////////////////////////////////////////////////
add_config = {
		"tablename" : "reponses",
		'fields' : {0:"est_juste",1:"reponse"} ,
		"fks" : {
			0 : {
				"current_id" : "id_reponse", 
				"referenced_table" : "questions", 
				"referenced_column":"question",
				"referenced_id":"id_question",
				"in_out":"all"
			}
		}
};
</script>
<script src="../js/add.js" ></script>